/** \file
* Declaration of the Twitter direct message class.
* This file is part of Chorus, available at
* http://code.google.com/p/chorus-twitter/ . This file and all associated files
* and derivative works are bound by the terms of the LGPL 3.0 license,
* available at http://www.gnu.org/licenses/lgpl-3.0-standalone.html .
* \par Subversion URL:
* \$URL: http://chorus-twitter.googlecode.com/svn/branches/cpp/src/twitter/TwitterDM.hpp $
* \version \$Rev: 153 $
* \date    \$Date: 2010-04-06 07:43:42 +0000 (Tue, 06 Apr 2010) $
*/

#pragma once

#include "xml/XmlElement.hpp"

/// The Twitter direct message class.
class TwitterDM : public XmlElement
{
public:
	/// The constructor.
	TwitterDM();
	/// The destructor.
	virtual ~TwitterDM();

private:
	/// The text of the direct message.
	TypedXmlProperty<std::string> prop_text;
	/// The ID of the sender.
	TypedXmlProperty<unsigned> prop_from;
	/// The ID of the recipient.
	TypedXmlProperty<unsigned> prop_to;
};
